package com.attendance.www.hr.dao.mapper;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.attendance.www.hr.beans.EmployeeBean;
import com.attendance.www.hr.entitys.Employee;

public interface EmployeeExtMapper {

	List<EmployeeBean> getEmployeePageList(@Param("employeeBean") EmployeeBean employeeBean,
			@Param("startNum") int startNum, @Param("pageCount") int pageCount);

	int getEmployeeSum(@Param("employeeBean") EmployeeBean employeeBean);

	List<Integer> getEmployeeIdList(@Param("employeeNo") String employeeNo, @Param("roleName") String roleName,
			@Param("departmentName") String departmentName, @Param("corporationName") String corporationName,
			@Param("employeeIsSeparated") int employeeIsSeparated);

	List<Integer> getLevelList();

	int updateVisaWaiver(@Param("employeeIdList") List<Integer> employeeIdList);

	EmployeeBean getEmployeeByEmployeeId(@Param("employeeId") Integer employeeId,@Param("nowDate") Date nowDate);
	
	List<Employee> getEmployeeList(@Param("fromDate")Date fromDate,@Param("thruDate")Date thruDate);
	
	//可查询一段时间内的所有员工信息
	List<EmployeeBean> getEmployeeListNoPage(@Param("employeeBean") EmployeeBean employeeBean);
	
	//获取开始时间
	Date selectEmployeeMainFromDate();
	
	List<Employee> selectEmployeeDataList();
	
	int updateByEmployeeId(@Param("employeeId") Integer employeeId);
}